package cn.swanit.service.demo;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@Slf4j
@MapperScan("cn.swanit.service.demo.mapper")
@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = "cn.swanit")
public class AppApplication {

    public static void main(String[] args) {
        SpringApplication.run(AppApplication.class, args);
        log.info("===AppApplication 启动成功===");
    }
}
